<?php
require_once $_SERVER['DOCUMENT_ROOT'].'/../../common/test/Test.php';
require_once $_SERVER['DOCUMENT_ROOT'].'/../../common/Remessa.php';
require_once $_SERVER['DOCUMENT_ROOT'].'/../../common/common.php';

class TestRemessa extends Test{
	private static $_instance;
	// Do not allow an explicit call of the constructor: $v = new Singleton();
	final private function __construct() {
		/*
		 * Teste 1
		 *
		 */
		$remessa= new Remessa('2011-02-22 10:44:06',301,0,0,0,0.00,0,0,0,0.00,811,811,'601','127.0.0.1',1,17778,17778,1,1.00,0.00,0,0,0,3,2.00,0,0,2.1700,2.1700,'','',0,1,0,14,1,0,0);
		$id=$remessa->getId();
		echo $id;
		echo 'Teste 1:';
		$this->assetEqual(0,0);
		echo 'Teste 2:';
		$this->assetEqual(1,0);
	}

	public static function getInstance() {
		if (!(self::$_instance instanceof self)) {
			self::$_instance = new self();
		}
		return self::$_instance;
	}
	// Do not allow the clone operation: $x = clone $v;
	final private function __clone() {
	}
}